export const responseStatusMap = {
  success: 200,
  failed: 0,
  error: -1,
  notFound: 404,

};

export const responseMessageMap = {
  getSuccess: "请求数据成功",
  getFailed: "请求数据失败",
  unknownError: "服务器发生未知错误，请联系工作人员",
  notFound: "路由不存在",
  userController: {
    getUserListSuccess: "获取用户列表成功",
    getUserListFailed: "获取用户列表失败",
    getUserAuthSuccess: "获取用户信息成功",
    getUserAuthFailed: "获取用户信息失败",
    userIdError: "用户ID格式错误",

    loginSuccess: "登录成功",
    accountNotFound: "帐号不存在",
    infoError: "帐号或密码错误",

    deleteSuccess: "用户删除成功",
    deleteFailed: "用户删除失败",
    addSuccess: "用户添加成功",
    addFailed: "用户添加失败",
    updateSuccess: "用户修改成功",
    updateFailed: "用户修改失败",
    isExist: "帐号已存在",
  },
  roleController: {
    getRoleListSuccess: "获取角色列表成功",
    addSuccess: "角色添加成功",
    addFailed: "角色添加失败",
    updateSuccess: "角色修改成功",
    updateFailed: "角色修改失败",
    deleteSuccess: "角色删除成功",
    deleteFailed: "角色删除失败",

    isExist: "角色名已存在",
    notFoundRole: "该角色不存在",
  },

  orderRouter: {},

};